<%-- $RCSFile: AddPage.aspx $
 Apache license v2 2011 by Christian Surieux
 $Source: ?/AddonNice/PageModules/Pages/AddPage.aspx $
 $log$
 Revision 6 2010/08/09 10:51:21  christian.surieux
   Added Log comment to all .aspx .ascx .master files
 --%>
<%@ Page Language="c#" AutoEventWireup="False" Inherits="AddonNice.PageModules.Pages.AddPage"
    Codebehind="AddPage.aspx.cs" MasterPageFile="~/MasterPages/ADNProperties.Master" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="Telerik" %>
<%@ Register Assembly="ADNCRM.Core" Namespace="AddonNice.Configuration" TagPrefix="cnf" %>
<%@ Register assembly="ADNCRM.Core" namespace="AddonNice.UI.WebControls" tagprefix="uc1" %>

<asp:Content id="Content1" ContentPlaceHolderid="ContentTitle" runat="server">
	<asp:Literal id="Literal1" runat="server" Text="<%$ Resources:ADNCRM,AM_TABNAME %>"></asp:Literal>
</asp:Content>
<asp:Content id="Content3" ContentPlaceHolderid="ContentPlaceHolderButtons2" runat="server">
    <asp:PlaceHolder id="PlaceHolderButtons2" runat="server"></asp:PlaceHolder>
</asp:Content>
<asp:Content id="Content2" ContentPlaceHolderid="ContentSettingsTable" runat="server">
    <Telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="Default" />
    <asp:ScriptManagerProxy id="ScriptManagerProxAddPage" runat="server" />
    <div style="float:left; width:100%">
        <Telerik:RadTabStrip ID="RadTabStrip1" Align="Left" runat="server" MultiPageID="RadMultiPage1" Width="100%" ReoderTabsOnSelect="false">
            <Tabs>
                <Telerik:RadTab Text="<%$ Resources:ADNCRM,PAGESETTINGS_GENPARAM %>" PageViewID="Pageview1" />
                <Telerik:RadTab Text="<%$ Resources:ADNCRM,PAGESETTINGS_PARAMETERS %>" PageViewID="Pageview2" />
            </Tabs>
        </Telerik:RadTabStrip>
    </div>
    <div style=' clear:both;' />
    <div style="float:left; width:100%">
        <Telerik:RadMultiPage ID="RadMultiPage1" SelectedIndex="0" runat="server" style="width:100%" >
            <Telerik:RadPageView ID="Pageview1" Width='100%'  runat="server">
                <table cellspacing="1" cellpadding="2" border="0">
                    <tr>
                        <td width="100px">
                            <asp:Literal id="Page_name1" runat="server" Text="<%$ Resources:ADNCRM,AM_TABNAME1 %>" />
                        </td>
                        <td>
                            <asp:TextBox id="PageName" runat="server" Width="300" MaxLength="47" />
                        </td>
                    </tr>
                    <tr>
                        <td width="100px">
                            <asp:Literal id="Literal2" runat="server" Text="<%$ Resources:ADNCRM,AM_TABIMAGE %>" />
                        </td>
                        <td>
                            <asp:DropDownList id="DDLPageImage" runat="server" Width="300px" DataTextField="Key" DataValueField="Value" />
                        </td>
                    </tr>
                    <tr>
                        <td nowrap='nowrap'>
                            <asp:Literal id="roles_auth" runat="server" Text="<%$ Resources:ADNCRM,AM_ROLESAUTH %>" />
                        </td>
                        <td>
                            <asp:CheckBoxList id="authRoles" runat="server" Width="98%" RepeatColumns="2" />
                        </td>
                    </tr>
                    <tr>
                        <td nowrap='nowrap'>
                            <asp:Literal id="Page_parent" runat="server" Text="<%$ Resources:ADNCRM,TAB_PARENT %>" />
                        </td>
                        <td>
                            <uc1:RadTreeComboPages id="pagesDropDownList" runat="server" Width="300px" />
                            <asp:Label id="lblErrorNotAllowed" runat="server" Text="<%$ Resources:ADNCRM,ERROR_NOT_ALLOWED_PARENT %>"
                                CssClass="Error" EnableViewState="False" Visible="False" />
                         </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <hr noshade='noshade' size="1" />
                        </td>
                    </tr>
                    <tr>
                        <td nowrap='nowrap'>
                            <asp:Literal id="Literal3" Text="<%$ Resources:ADNCRM,AT_ADDTAB_ADDMODULE%>" runat="server" /><br />
                            <asp:RadioButtonList ID="rblAddModule" runat="server" RepeatDirection="Horizontal" >
                                <asp:ListItem Value="No" Selected="True" Text="<%$ Resources:ADNCRM,AT_ADDTAB_NO%>" />
                                <asp:ListItem Value="Yes" Text="<%$ Resources:ADNCRM,AT_ADDTAB_YES%>" />
                            </asp:RadioButtonList>
                        </td>
                        <td>
                            <uc1:RadTreeComboModules ID="moduleType" runat="server" style='float: left; width: 80%;' Height='400px' />
                        </td>
                    </tr>
                    <tr>
                        <td nowrap='nowrap'>
                            <asp:Literal id="Literal0" Text="<%$ Resources:ADNCRM,AT_ADDTAB_ADDMODULE_BUILDER%>" runat="server" />&nbsp;&nbsp;
                        </td>
                        <td>
                            <asp:RadioButtonList id="rblAddModuleBuilder" runat="server" RepeatDirection="Horizontal" >
                                <asp:ListItem Value="No" Selected="True" Text="<%$ Resources:ADNCRM,AT_ADDTAB_NO%>" />
                                <asp:ListItem Value="Yes" Text="<%$ Resources:ADNCRM,AT_ADDTAB_YES%>" />
                            </asp:RadioButtonList><br />
                        </td>
                    </tr>
                    <tr>
                        <td nowrap='nowrap'>
                            <asp:Literal id="lbl_jump_to_Page" runat="server" Text="<%$ Resources:ADNCRM,AM_JUMPTOTAB %>" />
                        </td>
                        <td>
                            <asp:CheckBox id="cb_JumpToPage" runat="server" CssClass="Normal" />
                        </td>
                    </tr>
                </table>
            </Telerik:RadPageView>
            <Telerik:RadPageView ID="Pageview2" Width='100%' runat="server">
                <cnf:SettingsTable id="EditTable" TableType='NewPage' width='100%' runat="server" />
            </Telerik:RadPageView>
        </Telerik:RadMultiPage>
    </div>
    <div style=' clear:both;' />
    <div class="Error" style='float:left; width:100%'>
        <asp:Literal id="msgError" runat="server" Text="<%$ Resources:ADNCRM,AM_NO_RIGHTS %>" />
    </div>
</asp:Content>
<asp:Content id="Content4" ContentPlaceHolderid="ContentPlaceHolderButtons1" runat="server">
<br />
    <asp:PlaceHolder id="PlaceHolderButtons" runat="server" />
</asp:Content>
